package com.lxm.algorithm.lru;

public class TestLruCache {
    public static void main(String[] args) {
        Lru<Integer> cache = new LruCache<>(3);
        cache.set("1", 1);
        cache.set("2", 2);
        cache.set("3", 3);
        Integer a = cache.get("1");
        System.out.println(a);
        cache.set("4", 4);
    }
}
